Be careful when making changes to the menus. Dreamweaver ignores any menu or menu item that contains an XML syntax error.
The menus.xml file contains a structured list of menu bars, menus, and menu items. A menu bar (tagged with opening and closing MENUBAR
tags) is a discrete menu or set of menus—for example, there's a main menu bar, a separate Site window menu bar (for Windows only), and a menu bar for each context menu. Each menu bar contains one or more menus; a menu is surrounded by <MENU>
and </MENU>
tags. Each menu contains one or more menu items, each described by a MENUITEM
tag and its attributes. (A menu can also contain separators and submenus.) For example, the following is part of the definition of the main (Document window) menu bar:
<menubar name="Main Window" id="DWMainWindow"> <menu name="_File" id="DWMenu_File"> <menuitem name="_New" key="Cmd+N" enabled="true" command="dw.createDocument()" />...other menu items, separators, and submenus here...
</menu>...other menus here...
</menubar>